package com.ktjy.entity;

import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Setter
@Getter
public class Bank implements Serializable {
    private Long id; //ID
    private String cardno; //卡号
    private Date transactionDate; //交易日期
    private double amount; //交易金额
    private double balance; //账户余额
    private String transactionType; //交易类型
    private String remark; //备注

    public Bank() {
    }

    public Bank(Long id, String cardno, Date transactionDate, double amount, double balance, String transactionType, String remark) {
        this.id = id;
        this.cardno = cardno;
        this.transactionDate = transactionDate;
        this.amount = amount;
        this.balance = balance;
        this.transactionType = transactionType;
        this.remark = remark;
    }
}
